#ifndef ledh
#define ledh

#include <avr/io.h>

typedef struct {
	unsigned char r;
	unsigned char g;
	unsigned char b;
} rgb;

void set_color(rgb color);
void fade_to_color(rgb color, unsigned short time);
void blink_color(rgb color, unsigned short time);

#endif
